package com.leesche.zcsp.node.web.service.impl;

import com.leesche.zcsp.node.web.dao.SysUserTokenDao;
import com.leesche.zcsp.node.web.dao.SysWebAccessLogDao;
import com.leesche.zcsp.node.web.model.SysWebAccessLog;
import com.leesche.zcsp.node.web.model.SysWebAccessLogCriteria;
import com.leesche.zcsp.node.web.service.BaseService;
import com.leesche.zcsp.node.web.service.SysWebAccessLogService;
import com.leesche.zcsp.node.web.service.impl.data.read.QuerySysWebAccessLogCondition;
import com.leesche.zcsp.node.web.service.impl.data.read.SysWebAccessLogDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * Created by Administrator on 2017-02-08.
 */
@Service
public class SysWebAccessLogServiceImpl  extends
        BaseServiceImpl<SysWebAccessLog, SysWebAccessLogCriteria, SysWebAccessLogDto, QuerySysWebAccessLogCondition, Long>
    implements SysWebAccessLogService {

    @Autowired
    private SysWebAccessLogDao sysWebAccessLogDao;

    @Autowired
    public void setBaseDao( SysWebAccessLogDao sysWebAccessLogDao) {
        super.setBaseDao(sysWebAccessLogDao);
    }

    @Override
    public int updateByConditionMap(Map map) {
        return sysWebAccessLogDao.updateByConditionMap(map);
    }
}
